package 设计模式.f_适配器模式;

/**
 * @author caihe
 * @date 2023/3/9 17:07
 */
public class IPhoneAdapter implements Android {
    
    private IPhone iPhone;
    
    public IPhoneAdapter(IPhone iPhone) {
        this.iPhone = iPhone;
    }
    
    @Override
    public void charge() {
        iPhone.charge();
    }
}
